/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "DMS订单",TableName = "yg_dms_order")]
    public partial class yg_dms_order:BaseEntity
    {
        /// <summary>
       ///技术规范号
       /// </summary>
       [Key]
       [Display(Name ="技术规范号")]
       [MaxLength(15)]
       [Column(TypeName="nvarchar(15)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string xiangm { get; set; }

       /// <summary>
       ///产品名称
       /// </summary>
       [Display(Name ="产品名称")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string shuom { get; set; }

       /// <summary>
       ///订单号
       /// </summary>
       [Display(Name ="订单号")]
       [MaxLength(40)]
       [Column(TypeName="nvarchar(40)")]
       [Editable(true)]
       public string heth { get; set; }

       /// <summary>
       ///订单头物料号
       /// </summary>
       [Display(Name ="订单头物料号")]
       [MaxLength(20)]
       [Column(TypeName="nvarchar(20)")]
       [Editable(true)]
       public string yanfdh { get; set; }

       /// <summary>
       ///客户名称
       /// </summary>
       [Display(Name ="客户名称")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string cust_name { get; set; }

       /// <summary>
       ///产品物料号
       /// </summary>
       [Display(Name ="产品物料号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string yangbwl { get; set; }

       /// <summary>
       ///接受时间
       /// </summary>
       [Display(Name ="接受时间")]
       [Column(TypeName="datetime2")]
       [Editable(true)]
       public DateTime? jiesrq { get; set; }

       /// <summary>
       ///数量
       /// </summary>
       [Display(Name ="数量")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public decimal shul { get; set; }

       /// <summary>
       ///交货日期
       /// </summary>
       [Display(Name ="交货日期")]
       [Column(TypeName="datetime2")]
       [Editable(true)]
       public DateTime? jiaohq { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [MaxLength(6)]
       [Column(TypeName="nvarchar(6)")]
       [Editable(true)]
       public string zhuangt { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(2000)]
       [Column(TypeName="nvarchar(2000)")]
       [Editable(true)]
       public string beizhu { get; set; }

       /// <summary>
       ///技术模版号
       /// </summary>
       [Display(Name ="技术模版号")]
       [MaxLength(16)]
       [Column(TypeName="nvarchar(16)")]
       [Editable(true)]
       public string mobbh { get; set; }

       /// <summary>
       ///公告号
       /// </summary>
       [Display(Name ="公告号")]
       [MaxLength(40)]
       [Column(TypeName="nvarchar(40)")]
       [Editable(true)]
       public string biaop { get; set; }

       
    }
}